package system;

import admin.data.ConfigData;
import models.ConfigModel;

public class ConfigSystem {
	private static ConfigModel configs = null;

	public static ConfigModel getConfigs() {
		if (configs == null) {
			ConfigData cData = new ConfigData();
			setConfigs(cData.getConfig(1));
		}
		return configs;
	}

	public static void setConfigs(ConfigModel configs) {
		ConfigSystem.configs = configs;
	}
}
